package entity;

public class Account {
    /**
     * 账目表
     */
    private  int Account_id;
    /**
     * 账单id
     */
    private  int deal_type;
    /**
     * 交易类型
     */
    private int Per_id;
    /**
     * 宠物id
     */
    private int m_id;
    /**
     * 买家id
     */
    private int y_id;
    /**
     * 卖家id
     */
    private  int  price;
    /**
     * 交易价格
     */
    private String deal_time;
    /**
     * 交易时间
     */
    public int getAccount_id() {
        return Account_id;
    }

    public void setAccount_id(int account_id) {
        Account_id = account_id;
    }

    public int getDeal_type() {
        return deal_type;
    }

    public void setDeal_type(int deal_type) {
        this.deal_type = deal_type;
    }

    public int getPer_id() {
        return Per_id;
    }

    public void setPer_id(int per_id) {
        Per_id = per_id;
    }

    public int getM_id() {
        return m_id;
    }

    public void setM_id(int m_id) {
        this.m_id = m_id;
    }

    public int getY_id() {
        return y_id;
    }

    public void setY_id(int y_id) {
        this.y_id = y_id;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getDeal_time() {
        return deal_time;
    }

    public void setDeal_time(String deal_time) {
        this.deal_time = deal_time;
    }

    @Override
    public String toString() {
        return "Account{" +
                "Account_id=" + Account_id +
                ", deal_type=" + deal_type +
                ", Per_id=" + Per_id +
                ", m_id=" + m_id +
                ", y_id=" + y_id +
                ", price=" + price +
                ", deal_time='" + deal_time + '\'' +
                '}';
    }
}
